package cn.tworice.common.entity.code;

import lombok.Data;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import cn.tworice.common.po.BasicPO;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
@Data
public class ExchangeMessage extends BasicPO implements Serializable {
    private Integer id;
    @ExcelProperty("接收人")
    private String receive;
    @ExcelProperty("消息内容")
    private String message;
    @ExcelProperty("IP地址")
    private String ipaddr;

    private String author;
}